package com.appspot.bibtable.model.format;

public abstract class InputParser implements Parser<Object>
{
	private final InputParser elementParser;
	
	public InputParser()
	{
		this.elementParser = null;
	}

	public InputParser(InputParser elementParser)
	{
		this.elementParser = elementParser;
	}

	@Override
	public abstract Object parse(String value);
	
	public InputParser getElementParser()
	{
		return elementParser;
	}
}
